﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Sys.Repository.Entities
{
    /// <summary>
    /// 品牌分组
    /// </summary>
    [Table("sys_BrandGroup"), Comment("品牌分组")]
    public class BrandGroup : EfEntity
    {
        /// <summary>
        /// 分组名
        /// </summary>
        [Comment("分组名"),MaxLength(200)]
        public string Name { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        [Comment("排序号")]
        public int Sort { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Comment("创建时间")]
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [Comment("状态")]
        public bool IsDeleted { get; set; } = false;
    }
}
